package org.makabaka.wfwwb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.makabaka.wfwwb.pojo.BScore;

import java.util.List;

@Mapper
public interface BScoreMapper extends BaseMapper<BScore> {
    @Select("SELECT * FROM b_score WHERE team_id = #{teamId}")
    List<BScore> getBScoreByTeamId(Integer teamId);
}
